package com.d0325;

import java.time.LocalTime;

public class LocalTimeTest {
    public static void main(String[] args) {
        LocalTime time1=LocalTime.now();
        System.out.println(time1);

        LocalTime time2=LocalTime.of(3,24,8);
        System.out.println(time2);
        //String->LocalTime
        String str="02:56:12";
        LocalTime time3=LocalTime.parse(str);
        System.out.println(time3);
    }
}
